package com.deluxelx.soul.inn.mapper.counselor;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.deluxelx.soul.inn.bean.counselor.Expertise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 咨询师擅长领域数据层
 *
 * @author: zihao.liao
 * @date: 2024/2/4 17:01
 */
@Mapper
public interface ExpertiseMapper extends BaseMapper<Expertise> {
    /**
     * 查询咨询师的擅长领域
     * @param counselorId 咨询师id
     * @return 擅长领域列表
     */
    List<Expertise> selectByCounselor(@Param("counselorId") String counselorId);

}
